home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 8 / CD Funhouse Version 8.0 - Wayzata Technology (7013) (1993).iso / pc / mac / __the_sc / hypersta.rs / card_2538.txt < prev    next >
Text File  |  1990-10-07  |  1KB  |  55 lines

  1. -- card: 2538 from stack: in.rs
  2. -- bmap block id: 3445
  3. -- flags: 0000
  4. -- background id: 2138
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 2001
  11. -- rect: left=19 top=41 right=218 bottom=235
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 10
  17. -- style flags: 0
  18. -- line height: 13
  19. -- part name: 
  20.  
  21.  
  22. -- part 2 (button)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=314 top=79 right=187 bottom=465
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Go
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   global theNumber
  37.   global guesses
  38.   global theGuess
  39.   put the random of 100 into theNumber
  40.   put 7 into guesses
  41.   put empty into theGuess
  42.   visual effect dissolve
  43.   go to next card
  44.   put empty into background field "Guess"
  45.   tabkey
  46. end mouseUp
  47.  
  48.  
  49.  
  50. -- part contents for card part 1
  51. ----- text -----
  52. Stars has always been one of my favorite games.  I have now converted it to run on HyperCard, so every Mac user can enjoy it.  Click "Go!" when ready.
  53. ____________________________
  54.  
  55. I am thinking of a whole number from 1 to 100.  Try to guess my number.  After you guess, I will show one or more stars.  The more stars I show, the closer you are to my number.  One star means far away, seven stars means really close!  You get 7 guesses.